2016-06-10 - 26605 - Rel Notes - Optimize the CREATE IDOCs process #SAPReleases2016

Release Notes - Draft / Final


26605 : Optimize the CREATE IDOCs process

Admin Info



Purpose
Create a program to trigger the IBM EDI jobs (if input file exists in the directory) by reading the variants from TVARVC variable
Release No
001
Submitted on
06/10/2016
Submitted by
Damodhier
Environment
NECNED to NEQ
Sent To
Filip
Object(s) created by
Damodhier
Object(s) tested by
Surya
Transport Status
Created in NECNED100

Transport and Technical Objects


Sl.
Transport ID
Description
Object Name
1
NEDK935269
SD:26605:TVARVC Variable to maintain variants for IBM EDI
ZSD_IBM_EDI_JOB_VAR
2
NEDK934953
SD:26605:Prg.to Trigger IBM EDI jobs with different variants
ZSD_IBM_EDI_JOB





Release Notes


For Infrastructure

None

For Requestor

None



Test Notes


System : NECNED300


Test ID
Test Scenario
Expected Results
Actual Results
Examples
P/F
Notes
Tested By
QA By
SD001
Load single file with a single record into a directory and create a variant. Run the job
Variant : VAR1

Job : IBM_EDI_SD001 (Program - ZSD_IBM_EDI_JOB)

Variable : ZSD_IBM_EDI_JOB_VAR - VAR1
The job should pick the variant/file and create an IDOC
The main job triggered child job -
CREATE_IDOCS_IBM_EDI_VAR1
and IDOC was created
IDoc '0000000000393115' added
P
NA
Surya
Surya
SD002
Load multiple files with multiple records into a directory and create a variant. Run the job
Variants : VAR1 , VAR2

Job : IBM_EDI_SD002 (Program - ZSD_IBM_EDI_JOB)

Variable : ZSD_IBM_EDI_JOB_VAR

Values : VAR1 & VAR2
The job should pick the variants/files and IDOCs should be created
The main job triggered 2 child jobs -
CREATE_IDOCS_IBM_EDI_VAR1,

CREATE_IDOCS_IBM_EDI_VAR2
and IDOC's were created two each
IDoc '0000000000393119' added
IDoc '0000000000393120' added
IDoc '0000000000393117' added
IDoc '0000000000393118' added
P
NA
Surya
Surya
SD003
Load multiple files with single record in each into multiple directories and create variants. Run the job
Variants : VAR3 , VAR4

Job : IBM_EDI_SD003 (Program - ZSD_IBM_EDI_JOB)

Variable : ZSD_IBM_EDI_JOB_VAR

Values : VAR1 & VAR4
The job should pick the variants/files and IDOCs should be created
The main job triggered 4 child jobs -
CREATE_IDOCS_IBM_EDI_VAR1

CREATE_IDOCS_IBM_EDI_VAR2

CREATE_IDOCS_IBM_EDI_VAR3

CREATE_IDOCS_IBM_EDI_VAR4
and IDOC's were created one each for VAR3 & VAR4
The spool on the main job is updated as -

CREATE_IDOCS_IBM_EDI_VAR1 is Cancelled with variant VAR1

CREATE_IDOCS_IBM_EDI_VAR2 is Cancelled with variant VAR2

CREATE_IDOCS_IBM_EDI_VAR3 is successfully completed with variant

VAR3

CREATE_IDOCS_IBM_EDI_VAR4 is successfully completed with variant

VAR4
IDoc '0000000000393122' added
IDoc '0000000000393123' added
P
NA
Surya
Surya
SD004
Load multiple files with single record in each into multiple directories and leave one directory blank; create variants. Run the job
Variants : VAR4 , VAR11

Job : IBM_EDI_SD004 (Program - ZSD_IBM_EDI_JOB)

Variable : ZSD_IBM_EDI_JOB_VAR

Values : VAR4 & VAR11
The job should pick the variants/files and IDOCs should be created and the job should not fail when there is no file.
The main job triggered 5 child jobs including the one where the file was blank/not available in the directory and IDOC was created for the one where the file was found (VAR4)
CREATE_IDOCS_IBM_EDI_VAR1 is Cancelled with variant VAR1

CREATE_IDOCS_IBM_EDI_VAR2 is Cancelled with variant VAR2

CREATE_IDOCS_IBM_EDI_VAR3 is Cancelled with variant VAR3

CREATE_IDOCS_IBM_EDI_VAR4 is successfully completed with variant

VAR4

CREATE_IDOCS_IBM_EDI_VAR11 is Cancelled with variant VAR11
IDoc '0000000000393125' added
P
NA
Surya
Surya

System: NECNEQ100

None



Reference Document (Specification or Production Support Break Fix)



ABAP-Damodhier-Surya - 2016-04-18 - 26605 - Spec - Optimize the CREATE IDOCs process (Jeff by 2016-05-27)


Test ID
Test Scenario
Expected Results
Actual Results
Examples
Tested By
QA By
SD001
Load single file with a single record into a directory and create a variant. Run the job

Variant : VAR1
Job : IBM_EDI_SD001 (Program - ZSD_IBM_EDI_JOB)
Variable : ZSD_IBM_EDI_JOB_VAR - VAR1
The job should pick the variant/file and create an IDOC
The main job triggered child job -

CREATE_IDOCS_IBM_EDI_VAR1

and IDOC was created
IDoc '0000000000393115' added
Surya
Surya
SD002
Load multiple files with multiple records into a directory and create a variant. Run the job

Variants : VAR1 , VAR2
Job : IBM_EDI_SD002 (Program - ZSD_IBM_EDI_JOB)
Variable : ZSD_IBM_EDI_JOB_VAR
Values : VAR1 & VAR2
The job should pick the variants/files and IDOCs should be created
The main job triggered 2 child jobs -

CREATE_IDOCS_IBM_EDI_VAR1,
CREATE_IDOCS_IBM_EDI_VAR2

and IDOC's were created two each
IDoc '0000000000393119' added
IDoc '0000000000393120' added

IDoc '0000000000393117' added
IDoc '0000000000393118' added
Surya
Surya
SD003
Load multiple files with single record in each into multiple directories and create variants. Run the job

Variants : VAR3 , VAR4
Job : IBM_EDI_SD003 (Program - ZSD_IBM_EDI_JOB)
Variable : ZSD_IBM_EDI_JOB_VAR
Values : VAR1 & VAR4
The job should pick the variants/files and IDOCs should be created
The main job triggered 4 child jobs -

CREATE_IDOCS_IBM_EDI_VAR1
CREATE_IDOCS_IBM_EDI_VAR2
CREATE_IDOCS_IBM_EDI_VAR3
CREATE_IDOCS_IBM_EDI_VAR4

and IDOC's were created one each for VAR3 & VAR4

The spool on the main job is updated as -
CREATE_IDOCS_IBM_EDI_VAR1 is Cancelled with variant VAR1
CREATE_IDOCS_IBM_EDI_VAR2 is Cancelled with variant VAR2
CREATE_IDOCS_IBM_EDI_VAR3 is successfully completed with variant
VAR3
CREATE_IDOCS_IBM_EDI_VAR4 is successfully completed with variant
VAR4
IDoc '0000000000393122' added
IDoc '0000000000393123' added
Surya
Surya
SD004
Load multiple files with single record in each into multiple directories and leave one directory blank; create variants. Run the job

Variants : VAR4 , VAR11
Job : IBM_EDI_SD004 (Program - ZSD_IBM_EDI_JOB)
Variable : ZSD_IBM_EDI_JOB_VAR
Values : VAR4 & VAR11
The job should pick the variants/files and IDOCs should be created and the job should not fail when there is no file.
The main job triggered 5 child jobs including the one where the file was blank/not available in the directory and IDOC was created for the one where the file was found (VAR4)

CREATE_IDOCS_IBM_EDI_VAR1 is Cancelled with variant VAR1
CREATE_IDOCS_IBM_EDI_VAR2 is Cancelled with variant VAR2
CREATE_IDOCS_IBM_EDI_VAR3 is Cancelled with variant VAR3
CREATE_IDOCS_IBM_EDI_VAR4 is successfully completed with variant
VAR4
CREATE_IDOCS_IBM_EDI_VAR11 is Cancelled with variant VAR11
IDoc '0000000000393125' added
Surya
Surya

SD001